package day09;

/**
 * Created by Shinelon on 2016/9/29.
 */
public class StringZ {
    public static void main(String[] args) {
        String[] match = {"mdzz", "cnm", "cndy", "tmd", "250"};

        String s = "tmd你个250，我cnmd,你真他mdzz，cndy的";

        for (String s1 : match) {
            s = s.replace(s1, "**");
        }

        System.out.println(s);
    }
}
